#ifndef LOWPASS_FLITER_H
#define LOWPASS_FLITER_H

#include <Arduino.h>

class LowPassFliter 
{
public:
    LowPassFliter(float Tf);
    ~LowPassFliter() = default;

    float operator() (float x);
    float Tf; 

protected:
    unsigned long timestamp_prev; 
    float y_prev; // the y-axis value at the last timestamp
};

#endif